﻿#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	double a, b, c, der;
	double x, z;
	scanf("%lf %lf %lf", &a, &b, &c);
	der = b * b - 4 * a * c;
		if (der < 0) {
			printf("无实根！");
		}
		else {
			x = (-b + pow(der, 0.5)) / (2 * a) * 1.0;
			z = (-b - pow(der, 0.5)) / (2 * a) * 1.0;

			if (x > z) {
				printf("实根为%.2f,%.2f", x, z);
			}
			else {
				printf("实根为%.2f,%.2f", z, x);
			}
		}
		return 0;
}